package com.ash.tx.bean;

public class Book {

    private Long id;

    private String bookName;

    private Double price;

    private Integer stockNum;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getStockNum() {
        return stockNum;
    }

    public void setStockNum(Integer stockNum) {
        this.stockNum = stockNum;
    }

    @Override
    public String toString() {
        return "Book [id=" + id + ", bookName=" + bookName + ", price=" + price + ", stockNum=" + stockNum + "]";
    }

}
